package com.maoyanjava.service.impl;

import com.maoyanjava.mapper.FilmMapper;
import com.maoyanjava.mapper.PlanMapper;
import com.maoyanjava.pojo.Plan;
import com.maoyanjava.service.PlanService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class PlanserviceImpl implements PlanService {
    @Autowired
    private PlanMapper pm;
    @Autowired
    private FilmMapper fm;
    @Override
    public List<Plan> getAllPlanAndRCF() {
        return pm.getAllPlanAndRCF();
    }

    @Override
    public Plan getOne(int id) {
        return pm.getOne(id);
    }
}
